# PyJuggler is (C) Copyright 2002-2012 by Patrick Hartling
# Distributed under the GNU Lesser General Public License 2.1.  (See
# accompanying file COPYING.txt or http://www.gnu.org/copyleft/lesser.txt)

srcdir=		@srcdir@

GADGET_LIBS=		$(shell flagpoll gadgeteer jccl --get-all-libs)
GADGET_EXTRA_LIBS=	$(shell flagpoll gadgeteer jccl --get-all-extra-libs)

EXTRA_CXXFLAGS=		$(shell flagpoll gadgeteer jccl --cflags)
EXTRA_LDFLAGS=		$(PYJUTIL_LIB) $(GADGET_LIBS) $(GADGET_EXTRA_LIBS)
MOD_NAME=		gadget

SRCS= \
	_Analog.cpp				\
	_AnalogData.cpp				\
	_AnalogInterface.cpp			\
	_AnalogProxy.cpp			\
	_BaseDeviceInterface.cpp		\
	_Command.cpp				\
	_CommandData.cpp			\
	_CommandInterface.cpp			\
	_CommandProxy.cpp			\
	_Digital.cpp				\
	_DigitalData.cpp			\
	_DigitalInterface.cpp			\
	_DigitalProxy.cpp			\
	_Event.cpp				\
	_InputManager.cpp			\
	_KeyEvent.cpp				\
	_KeyboardMouse.cpp			\
	_KeyboardMouseInterface.cpp		\
	_KeyboardMouseProxy.cpp			\
	_MouseEvent.cpp				\
	_Position.cpp				\
	_PositionData.cpp			\
	_PositionInterface.cpp			\
	_PositionProxy.cpp			\
	_PositionUnitConversion.cpp		\
	_String.cpp				\
	_StringInterface.cpp			\
	_StringProxy.cpp			\
	_StringData.cpp				\
	_gadget_Type_KeyboardMouse_Event_h.cpp	\
	_gadget_Type_KeyboardMouse_Keys_h.cpp	\
	gadget.cpp

include ../common-targets.mk
